<html>
    <head>
        <title>Test</title>
        <style>

  main {
    prototype: MyComponent url(ext-component.js); 
  }

        </style>
    </head>
    <body>

<main #test/>

    </body>
</html>